﻿using CaterDal;
using CaterModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CaterBll
{
   public partial class MemberInfoBll
    {
        private MemberInfoDal miDal;

        public MemberInfoBll()
        {
            this.miDal = new MemberInfoDal();
        }

        public List<MemberInfo> GetList(Dictionary<string, string> dic)
        {
            return miDal.GetList(dic);
        }

        public int Insert(MemberInfo mti)
        {
            return miDal.Insert(mti);
        }

        public int Update(MemberInfo mti)
        {
            return miDal.Update(mti);
        }
        public int Delete(int mid)
        {
            return miDal.Delete(mid);
        }
    }
}
